/*
 * @Author: wangchao
 * @Date: 2024-10-04 15:42:33
 * @LastEditors: wangchao
 * @LastEditTime: 2024-10-08 14:45:32
 * @FilePath: \JD-RTT-Driver\applications\u_app_state.c
 * @Description:
 * Copyright (c) 2024 by Bingshan Guardian, All Rights Reserved.
 */

#include "u_app_state.h"

VAR_APP_WORK_STATE current_work_state = SYS_STATE_SHUTDOWN_COMPLETE;

void set_current_work_state(VAR_APP_WORK_STATE state)
{
    current_work_state = state;
}

VAR_APP_WORK_STATE get_current_work_state(void)
{
    return current_work_state;
}

rt_uint16_t get_current_work_state_id(void)
{
    return (rt_uint16_t)current_work_state;
}

void bms_detect_work_state(void)
{
    ;
}